import request from './request';
//好评/index/topRatedMovies
export const GETGOODAPI=(params)=>request.get("/index/topRatedMovies",{params})
export const GETGOODMOVIEAPI=(params)=>request.get("/index/topRatedMovies",{params})


// 获取首页热门上映列表
export const GetmovieOnInfoListAPI=(params)=>request.get("/index/movieOnInfoList",{params})

// 获取首页准备上映列表
export const GetcomingListAPI=(params)=>request.get("/index/comingList",{params})

// 获取搜索列表
export const GetserchAPI=(params)=>request.get("/search/movies",{params})

// 获取电影详情页
export const GetdetailAPI=(params)=>request.get("/movie/detail",{params})

// 获取影院筛选
export const GetcinemaAPI=(params)=>request.get("/select/cinemas",{params})

// 获取影院列表
export const GetmoreCinemaListAPI=(params)=>request.get("/search/cinemas",{params})

// 查询电影评论
// https://m.maoyan.com/mmdb/comments/movie/248566.json?_v_=yes&offset=1
export const GetmorecommentsAPI=(params)=>request.get("/movie/detail",{params})

//首页经典电影
export const GETCLASSAPI=(params)=>request.get("/index/moreClassicList",{params})

// 获取影院筛选
export const  GETVIDEOAPI=(params)=>request.get("/search/cinemas",{params})

//影剧详情
export const GETMVAPI=(params)=>request.get("/cinema/detail",{params})

//影院正在上映电影列表
export const GETMVLISTAPI=(params)=>request.get("/cinema/shows",{params})

//影院超值套餐
export const GETMVDLISTAPI=(params)=>request.get("/cinema/queryDealList.json",{params})

//影院座位，
export const GETMVSEATLISTAPI=()=>request.get("/cinema/seat-m.json",)

//影片上映日期
export const GETMVSHOWLISTAPI=(params)=>request.get("/movie/showdays",{params})

export const GETDLAPI=(params)=>request.post("http://47.115.51.185/api",{params})